// Copyright AudioKit. All Rights Reserved. Revision History at http://github.com/AudioKit/AudioKit/

extension Operation {

    /// This scales from -1 to 1 to a range defined by a minimum and maximum point in the input and output domain.
    ///
    /// - Parameters:
    ///   - minimum: Minimum value to scale to. (Default: 0)
    ///   - maximum: Maximum value to scale to. (Default: 1)
    ///
    public func scale(
        minimum: OperationParameter = 0,
        maximum: OperationParameter = 1
        ) -> Operation {
        return Operation(module: "biscale", inputs: self, minimum, maximum)
    }

}
